import type { TextProps, OptionsProps } from "../types";

export const getTextStatus = (props: TextProps) => {
	return props.status;
};

export const getStringStatus = (props: OptionsProps) => {
	return props.status
};

export const getCurrentStatus = (props: OptionsProps) => {
	return props.currentStatus;
};

export function getStringStatusByCurrentStatus(props: OptionsProps) {
	return props.status[props.currentStatus];
}